#!/bin/bash

#PBS -l walltime=3:00:00
#PBS -l nodes=4:ppn=1

for node in $( cat $PBS_NODEFILE ) ; do
   ssh $node 'hostname'
done